<template>
  <div>
    CComp
    <!-- 给默认插槽，传递数据 -->
    <slot :loading="loading" />

    <slot name="xxx" :loading="loading" />
  </div>
</template>

<script>
export default {
  name: "CComp",
  data() {
    return {
      loading: true,
    };
  },
};
</script>

<style></style>
